/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ZhongJinTao
 * Date: 2024-09-28
 * Time: 8:37
 */
public class Main {
    public static void main(String[] args) {
        ListNode head = new ListNode(1);
//        head.next = new ListNode(9);
//        head.next.next = new ListNode(9);
//        head.next.next.next = new ListNode(9);

//        ListNode head2 = new ListNode(9);
//        head2.next = new ListNode(6);
//        head2.next.next = new ListNode(4);
        Solution solution = new Solution();
        solution.removeNthFromEnd(head, 1);
    }
}